package com.woniu108.valueAdded.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * vip信息表
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserVip implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     */
    @TableId(value = "user_id", type = IdType.INPUT)
    private String userId;

    /**
     * vip等级编号
     */
    private Integer vipLevelId;

    /**
     * vip开始时间
     */
    private LocalDateTime vipStartTime;

    /**
     * vip结束时间
     */
    private LocalDateTime vipEndTime;

    /**
     * 免费洗车次数
     */
    private Integer freeNum;

    /**
     * 会员等级积分
     */
    private BigDecimal vipScore;


}
